Software development environment with design specification verification tool

ABSTRACT

An automated design specification verification tool automatically determines, for one or more functions defined in a first section of a design specification, whether a respective function name is declared in a second section of the same design specification. Further, it can be determined whether parameter names associated with respective functions in the first section are declared in the second section, and whether class attribute names associated with respective functions in the first section are described in a third section. Results of the verification process can be reported. In embodiments, the first section is a function definition section, the second section is a function list section, and the third section is a class attributes section; each being part of a class specification of a design specification document.

CROSS REFERENCE TO RELATED APPLICATION

[0001] This application is related to U.S. patent application Ser. No. 09/881,250, entitled “Automated Management Of Development Project Files Over A Network”, and U.S. patent application Ser. No. 10/059,654, entitled “Project Management Over A Network With Automated Task Schedule Update”, the contents of both of which are herein incorporated by reference in their entirety for all purposes as if fully set forth herein.

FIELD OF THE INVENTION

[0002] The present invention relates generally to project management and, more specifically, to automatically checking and verifying a software design specification.

BACKGROUND OF THE INVENTION

[0003] Product development projects typically require significant effort to monitor and manage. Furthermore, computer software development projects are inherently difficult to manage. This difficulty is partly due to the large number of tasks and associated deliverables that comprise a software package and the vastness of paperwork and project files associated with these tasks and deliverables. Another contributing factor are the complex interdependencies established between individual tasks and deliverables during the development cycle of a software package. Yet another contributing factor is the need to generate and maintain a design specification associated with the software being developed.

[0004] Management of development projects typically includes organizing, maintaining, and controlling access to project documents, schedules, and the like. Furthermore, there are often multiple development projects occurring concurrently within an enterprise organization, thus significantly expanding the document management efforts. Historically, management of a master project schedule entails, among other tasks, manually entering data into a scheduling application, manually creating links between schedules, and manually aggregating individual developers' task schedules into the master project schedule. These are cumbersome and error-prone tasks, with little to no oversight and quality control.

[0005] A master project schedule is often in a state of flux, whereby management solicits the developers for task statuses and related schedule updates. Often, the feedback provided to management by the developers has little oversight and is not according to a rigid policy, procedure, or verification process. Thus, the actual status of a project schedule is often difficult to ascertain since the progress of individual tasks are dictated by subjective, and often self-supporting, progress reports by those individuals that are assigned to the task.

[0006] For example, some scheduling systems allow a developer to signify that a task is partially completed, i.e., ninety percent completed. This information is then entered into the scheduling system to determine whether the project is on-schedule. However, because there is generally no accountability as to whether an individual's status is reliable, the current process of obtaining project status tends to shadow the realistic progress of the project.

[0007] In view of the foregoing, there is a clear need for a technique for management of interdependent development project task schedules that reduces the manual tasks related thereto.

[0008] Furthermore, during the development of software, generating and maintaining accurate and consistent design specifications is a challenge. Sometimes variable names are misspelled or used inconsistently within the design specification and often these errors go undetected in the inspection process. Furthermore, sometimes variable names referenced in a design specification are inconsistent with organization rules, constraints and processes, such as variable naming rules.

[0009] If a design specification contains incorrect or inconsistent variable names that go undetected during the document inspection process, then these errors are usually detected by a compiler when the software code associated with the specification is compiled. In such a scenario, time and resources are wasted in correcting the errors, both in the code and in the design specification. In some organizations, design specifications must also abide by the organization's document change control process. Thus, the wasting of resources is exacerbated because a revised specification document requires generation of a document change request and further inspection of the document and the change request, which presents additional costs and results in additional wasting of resources.

[0010] In view of the foregoing, there is a clear need for an automated technique for checking and verifying the accuracy and consistency of a software design specification document.

SUMMARY OF EMBODIMENTS OF THE INVENTION

[0011] In one aspect, a technique for verifying a software design specification document includes automatically determining, for each of one or more functions defined in a first section of a design specification document, such as a function definition section, whether a respective function name is declared in a second section of the same design specification document, such as a function list section. If a function name is not declared in the second section, then an undeclared function is reported. In one embodiment, if a function name is declared in the second section, then it is automatically determined whether a respective parameter name that is associated, in the first section, with the respective function name is declared in the second section. If a respective parameter name is not declared, then the respective parameter name is stored as an undeclared parameter and an undeclared parameter frequency variable that is associated with the respective parameter name and the respective function is incremented. Furthermore, in one embodiment, if an undeclared parameter name is present, the undeclared parameter name is reported along with the value of the undeclared parameter frequency variable, which indicates the number of times that the undeclared parameter is used in the respective function.

[0012] In one embodiment, it is further automatically determined whether a respective attribute name that is associated, in the first section, with the respective function name is listed in a third section of the same design specification document, such as a class attributes section. If a respective attribute name is not listed, then the respective attribute name is stored as an undeclared attribute and an undeclared attribute frequency variable that is associated with the respective attribute name and the respective function is incremented. Furthermore, in one embodiment, if an undeclared attribute name is present, the undeclared attribute name is reported along with the value of the undeclared attribute frequency variable, which indicates the number of times that the undeclared attribute is used in the respective function.

[0013] In one embodiment, one or more local variable names that are referenced in the first section are stored, and a local variable name frequency variable that is associated with a respective local variable name and with the respective function being processed is incremented. The one or more local variable names, if any, and the value of associated frequency variables are reported.

[0014] Hence, occurrences of misspelled functions and associated parameters and attributes in an electronic design specification document are discovered before proliferation to the software code associated with the design specification. Thus, in many cases, use of resources associated with correcting a controlled document, such as the design specification document, is reduced or avoided. Further, subsequent compiler-time errors are reduced or avoided.

BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The present invention is illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which like reference numerals refer to similar elements and in which:

[0016]FIG. 1 illustrates an example of an operating environment in which aspects of the invention can be implemented;

[0017]FIG. 2 is a block diagram that illustrates a computer system upon which embodiments of the invention can be implemented;

[0018]FIG. 3 illustrates examples of data components of a database and web components, according to an embodiment of the invention;

[0019]FIG. 4A is a flow chart illustrating steps for initiating automated management of project files over a network, according to an embodiment of the invention;

[0020]FIG. 4B is a flowchart illustrating steps an individual (client) performs in relation to the document inspection process, according to an embodiment of the invention;

[0021]FIG. 4C is a flowchart illustrating a server-side process continuing from R1 of FIG. 4B, according to an embodiment of the invention;

[0022]FIG. 4D is a flowchart illustrating the server-side process continuing from R2 of FIG. 4B; according to an embodiment of the invention;

[0023]FIG. 5A is a block diagram of an arrangement for initiating a project via an on-line interactive form, according to an embodiment of the invention;

[0024]FIG. 5B illustrates an example of a printed or displayed project initiation form that can be utilized in an embodiment of the invention;

[0025]FIG. 5C is a continuation of the exemplary printed/displayed project initiation form of FIG. 5B;

[0026]FIG. 6 illustrates an example of a project site, according to an embodiment of the invention;

[0027]FIG. 7A illustrates an example of a project document index, according to an embodiment of the invention;

[0028]FIG. 7B illustrates link relationships between an example web index page, the project database, and electronic or physical files/objects managed by the database, according to an embodiment of the invention;

[0029]FIG. 8 is a flow chart illustrating steps for managing project files over a network, according to an aspect of the invention;

[0030]FIG. 9 illustrates an embodiment of the method of FIG. 8, wherein individual task schedules are automatically managed;

[0031]FIG. 10 illustrates another embodiment of the method of FIG. 8, wherein a summary management schedule is automatically managed;

[0032]FIG. 11 is a block diagram illustrating associations utilized to manage a project schedule, according to an aspect of the invention;

[0033]FIG. 12 illustrates an example of an individual task schedule, according to an embodiment of the invention;

[0034]FIG. 13 illustrates a printed or displayed example of an on-line inspection form which is utilized to automatically update an individual task schedule, according to an embodiment of the invention;

[0035]FIG. 14 illustrates an example of a management schedule, according to an embodiment of the invention;

[0036]FIG. 15 is a flow chart illustrating steps for generating and updating a schedule for a project, according to an aspect of the invention; and

[0037]FIG. 16 depicts a task hierarchy that may be used to manage a development project, according to an embodiment of the invention;

[0038]FIG. 17 is diagram graphically illustrating a task data structure, according to an embodiment of the invention;

[0039]FIG. 18 is a diagram illustrating a hierarchical relationship of task data structures, according to an embodiment of the invention;

[0040]FIG. 19 illustrates an example of an on-line task assignment form, according to an embodiment of the invention;

[0041]FIG. 20 illustrates an example of an on-line individual task scheduler form, according to an embodiment of the invention;

[0042]FIG. 21 is a flowchart illustrating a method for updating a task schedule data structure, according to an embodiment of the invention;

[0043]FIG. 22 is a flowchart that illustrates a software design and coding process overview;

[0044]FIG. 23 is a block diagram that illustrates functional components of a design specification verification tool; and

[0045]FIG. 24 is a flowchart that illustrates a process for verifying a design specification document.

DETAILED DESCRIPTION OF THE INVENTION

[0046] Techniques for automating tasks involved in the management of a development project are described. The techniques are described herein primarily in reference to a software development project, but those skilled in the art should recognize that the benefits of the invention are also available when applying the techniques to other development projects. In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, that the present invention may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form in order to avoid unnecessarily obscuring the present invention.

Operating Environment

[0047]FIG. 1 illustrates a non-limiting example of an operating environment in which aspects of the invention can be implemented. The example operating environment comprises a plurality of workstations 102, a web server 104, and a database 106, all connected directly or indirectly to a software development network 108 for communication therebetween. Optionally, a database 110 may be present for reasons described below.

[0048] Workstations 102 are typically computer systems configured as illustrated by the computer system 200 of FIG. 2, and are utilized, for example, by the software engineers/developers to complete tasks associated with a development project. Pertinent non-limiting examples of such tasks include initiating projects, preparing and maintaining task schedules, designing software architecture, creating specifications, creating software code, implementing and testing software code, inspecting various task products, etc. In addition, project managers utilize workstations 102 for accessing information to review and manage the progress of the project. The developers and managers transmit communications through the network 108 to the other connected components, i.e., web server 104 and database 106.

[0049] Web server 104 depicts a conventional web server, which is a combination of computer hardware and software that, using the appropriate protocols (e.g., Hypertext Transfer Protocol [HTTP] and Transmission Control Protocol/Internet Protocol [TCP/IP]), serves the files that form web pages (e.g., Hypertext Markup Language [HTML] or Extensible Markup Language [XML] files), to users, such as developers or managers at a workstation 102. In general, the majority of information exchanged and managed during the development project life cycle is served by the web server 104 over the network 108. Furthermore, aspects of the techniques for automating management of development project files, as described herein, may be implemented and executed on the web server 104, although practice of the invention is not limited to such an implementation. The techniques could also be implemented on any other processing system, such as workstation 102 or a similarly configured computer system as illustrated in FIG. 2.

[0050] Database 106 depicts a conventional database for storing information related to the development project, thus providing access to the information by authorized individuals at workstations 102 or web server 104, through queries transmitted over the network 108. The type of information stored on database 106 is virtually limitless, non-limiting examples including project initiation forms, individual and aggregated management task schedules, specifications, software code, inspection reports, web page files, and document directories and indexes. In addition, other information may be stored on the database 106, as illustrated in and described in reference to FIG. 3. In alternative operating environments, a conventional database 110 is connected directly to the network 108 as a database server.

[0051] Network 108 depicts a conventional network, e.g., a packet-switched network, for facilitating the exchange of information between and among various connected components, such as workstation 102, web server 104, and database 106. The network 108 may be a Local Area Network (LAN), such as a conventional Ethernet, Fast Ethernet, a token ring, or a wireless LAN such as specified in 802.11a and 802.11b (developed by a working group of the Institute of Electrical and Electronics Engineers [IEEE]), which may be implemented within an enterprise. In addition, network 108 may also be a Wide Area Network (WAN), such as the Internet, for facilitating communication with remote users through a Virtual Private Network (VPN), or the network 108 may represent a combination of a LAN and a WAN. In addition, network 108 can be formed using a variety of different mediums, including but not limited electrical wire or cable, optical, or wireless connections.

Hardware Overview

[0052]FIG. 2 is a block diagram that illustrates a computer system 200 upon which embodiments of the invention can be implemented. Computer system 200 additionally illustrates a non-limiting example of a system configuration of the workstation 102 (FIG. 1) and the web server 104 (FIG. 1). Computer system 200 includes a bus 202 or other communication mechanism for communicating information, and a processor 204 coupled with bus 202 for processing information. Computer system 200 also includes a main memory 206, such as a random access memory (RAM) or other dynamic storage device, coupled to bus 202 for storing information and instructions to be executed by processor 204. Main memory 206 also may be used for storing temporary variables or other intermediate information during execution of instructions to be executed by processor 204. Computer system 200 further includes a read only memory (ROM) 208 or other static storage device coupled to bus 202 for storing static information and instructions for processor 204. A storage device 210, such as a magnetic disk, optical disk, or magneto-optical disk, is provided and coupled to bus 202 for storing information and instructions.

[0053] Computer system 200 may be coupled via bus 202 to a display 212, such as a cathode ray tube (CRT) or a liquid crystal display (LCD), for displaying information to a computer user. An input device 214, including alphanumeric and other keys, is coupled to bus 202 for communicating information and command selections to processor 204. Another type of user input device is cursor control 216, such as a mouse, a trackball, or cursor direction keys for communicating direction information and command selections to processor 204 and for controlling cursor movement on display 212. This input device typically has two degrees of freedom in two axes, a first axis (e.g., x) and a second axis (e.g., y), that allows the device to specify positions in a plane.

[0054] The invention is related to the use of computer system 200 for implementing the techniques described herein. According to one embodiment of the invention, those techniques are performed by computer system 200 in response to processor 204 executing one or more sequences of one or more instructions contained in main memory 206. Such instructions may be read into main memory 206 from another computer-readable medium, such as storage device 210. Execution of the sequences of instructions contained in main memory 206 causes processor 204 to perform the process steps described herein. In alternative embodiments, hard-wired circuitry may be used in place of or in combination with software instructions to implement the invention. Thus, embodiments of the invention are not limited to any specific combination of hardware circuitry and software.

[0055] The term “computer-readable medium” as used herein refers to any medium that participates in providing instructions to processor 204 for execution. Such a medium may take many forms, including but not limited to, non-volatile media, volatile media, and transmission media. Examples of non-volatile media include, without limitation, optical, magnetic disks, or magneto-optical disks, such as storage device 210. Volatile media includes dynamic memory, such as main memory 206. Transmission media includes coaxial cables, copper wire and fiber optics, including the wires that comprise bus 202. Transmission media can also take the form of acoustic or light waves, such as those generated during radio-wave and infra-red data communications.

[0056] Common forms of computer-readable media include, without limitation, a floppy disk, a flexible disk, hard disk, magnetic tape, any other magnetic medium; a CD-ROM, DVD, any other optical or magneto-optical medium; punchcards, papertape, any other physical medium with patterns of holes; a RAM, a PROM, an EPROM, a FLASH-EPROM, any other memory chip or cartridge, a carrier wave as described hereinafter, or any other medium from which a computer can read.

[0057] Various forms of computer readable media may be involved in carrying one or more sequences of one or more instructions to processor 204 for execution. For example, the instructions may initially be carried on a magnetic disk of a remote computer. The remote computer can load the instructions into its dynamic memory and send the instructions over a telephone line using a modem. A modem local to computer system 200 can receive the data on the telephone line and use an infra-red transmitter to convert the data to an infra-red signal. An infra-red detector can receive the data carried in the infra-red signal and appropriate circuitry can place the data on bus 202. Bus 202 carries the data to main memory 206, from which processor 204 retrieves and executes the instructions. The instructions received by main memory 206 may optionally be stored on storage device 210 either before or after execution by processor 204.

[0058] Computer system 200 also includes a communication interface 218 coupled to bus 202. Communication interface 218 provides a two-way data communication coupling to a network link 220 that is connected to a local network 222. For example, communication interface 218 may be an integrated services digital network (ISDN) card or a modem to provide a data communication connection to a corresponding type of telephone line. As another example, communication interface 218 may be a local area network (LAN) card to provide a data communication connection to a compatible LAN. Wireless links may also be implemented. In any such implementation, communication interface 218 sends and receives electrical, electromagnetic or optical signals that carry digital data streams representing various types of information.

[0059] Network link 220 typically provides data communication through one or more networks to other data devices. For example, network link 220 may provide a connection through local network 222 to a host computer 224 or to data equipment operated by an Internet Service Provider (ISP) 226. ISP 226 in turn provides data communication services through the world wide packet data communication network now commonly referred to as the “Internet” 228. Local network 222 and Internet 228 both use electrical, electromagnetic or optical signals that carry digital data streams. The signals through the various networks and the signals on network link 220 and through communication interface 218, which carry the digital data to and from computer system 200, are exemplary forms of carrier waves transporting the information.

[0060] Computer system 200 can send messages and receive data, including program code, through the network(s), network link 220 and communication interface 218. In the Internet example, a server 230 might transmit a requested code for an application program through Internet 228, ISP 226, local network 222 and communication interface 218.

[0061] The received code may be executed by processor 204 as it is received, and/or stored in storage device 210, or other non-volatile storage for later execution. In this manner, computer system 200 may obtain application code in the form of a carrier wave.

Project Database

[0062]FIG. 3 illustrates a non-limiting example of data components of the database 106 and web components. Database 106 can store files representing various project documents, some being generic project-related documents employed by an enterprise for providing guidance with respect to administering and controlling development projects, and some being specific to a particular project. For examples of generic documents, the database can be configured to store, without limitation, one or more template forms 302 for use by project participants (i.e., engineer/developers, managers, and others), such as a project initiation form (see FIGS. 5B and 5C for a printed example of an interactive project initiation form) or an inspection form (see FIG. 13 for a printed example of an interactive inspection form); and one or more manuals 304, policies 306, and procedures 308, for instructing project participants on enterprise infrastructure, policy and procedures, at least with respect to development projects. The forms 302 facilitate the interactive input of information into the system database 106 and are primarily used by the clients, or individual project participants, and also define the printed outputs.

[0063] Project data 310 refers to project-specific documents that may include, but are not limited to, completed project initiation forms (see FIGS. 5B and 5C), individual task schedules (see FIG. 12), aggregated management task schedules (see FIG. 14), specifications, software code, completed inspection forms (see FIG. 13), web page files, document directories and indexes, task assignment forms (see FIG. 19), and individual task scheduler forms (see FIG. 20). Note that the document directories and indexes, and the task assignment and individual task scheduler forms, may alternatively or additionally be stored on the database 110 (FIG. 1). A project participant working on a workstation 102, or alternatively on web server 104, can utilize a search engine 320 to access the database 106 and search for the various generic and project-specific documents.

[0064] Different levels of project-specific information can be accessed from the database 106, as is depicted by a projects home page 312 and one or more project sites 314. The projects home page 312 provides links to the one or more project sites 314. As is known in the art, a link is a selectable connection from one word, picture, or information object to another. One non-limiting example of an implementation of a link is a hyperlink, utilizing a suitable protocol and language such as HTTP and HTML, respectively. The links allow a user to access the project sites 314 from the home page 312, by enacting the link. The link is enacted typically through use of the cursor control 216 (FIG. 2) and/or the input device 214 (FIG. 2), by interacting with an appropriate application such as a conventional web browser. Examples of the information that is linked to, and thus accessible from, the project sites 314 are described below.

Initiating Automated Project File Management

[0065]FIG. 4A is a flow chart illustrating steps for initiating automated management of project files over a network, according to an embodiment of the invention. First, at step 402, an individual completes a project initiation form for submission to management for project approval. FIG. 5A is a block diagram of an arrangement for initiating a project via an on-line interactive project initiation form 500. The interactive form can be an HTML or XML based page. The project initiator enters the necessary information, for a non-limiting example, the project title 502, project description 504, anticipated project members and responsibilities 506, overall schedule 508, and budget 510, through a network interface, such as a web browser. The entered information is transmitted through the web server 104 to the database 106, where it is initially stored in draft form prior to approval of the requested project, at step 404 of FIG. 4A. Furthermore, the initiator can revise the draft form until proceeding to the project authorization/approval process. The blocks of information depicted in database 106 in FIG. 5A comprise the various information that can be extracted and presented in a project home page or site, such as project site 600 of FIG. 6.

[0066]FIG. 5A further includes a design specification verification tool 512, which is used to automatically verify drafts of design specification documents. The design specification verification tool 512 can be used to support a software design process depicted in FIG. 22. Design specification verification tool 512 is described in detail below.

[0067] An example of a printed or displayed project initiation form 550, illustrating pertinent information headings with the information excluded, is illustrated in FIGS. 5B and 5C. The interactive project initiation form 500 (as exemplified also as form 550) is available from the form 302 (FIG. 3) component of database 106 (FIG. 1), and is linked to other data in the database 106 for automated entry of some data fields. The format of the printed/displayed project initiation form 550 is associated with the form 302.

[0068] Referring back to FIG. 4A, at decision block 406 it is determined whether the appropriate project approval authority has approved the proposed project. If the project is not approved, then at step 408 the project initiation form is marked to indicate that the project is not approved, and is stored as a draft in the database 106. Upon approval of the proposed project, at step 410 the project is automatically assigned a project number and an official project site, such as project site 314 (FIG. 3), is automatically created and linked to the project home page, such as project home page 312 (FIG. 3). In addition, various database 106 entries and index pages are created at step 410. At step 412, web sites for individual project participants are created; and linked to the appropriate official project site, at step 414. In addition, the necessary entries are created in the database 106, and linked to the appropriate skeleton files that are utilized by the project participants. The project participants are able to link any working or draft documents to their individual site, whereby the documents will be available to authorized project members through the appropriate chain of links from the project home page, i.e., projects home page 312. Access permissions are restricted and controlled according to document control policies. In certain embodiments, a directory of project files associated with the project is created, stored in the database 106 and database 110 (FIG. 1), and linked to the project site (as shown in FIG. 6). Sub-directories and indexes can be created, as applicable, and linked to the appropriate directory entry on the project site.

Inspection Process—Client

[0069]FIG. 4B is a flowchart illustrating steps an individual (client) performs in relation to the document inspection process, according to one embodiment. At step 452, a document, record, or report (reference material) is generated by an individual project participant. At the decision block of step 454, it is determined whether the reference material is the type that requires inspection to ensure quality. For example, some information, such as technical information and records, may not require the quality inspection. In this case, at step 456, the individual requests registration of the document, whereby the flow goes to R1, which is illustrated in FIG. 4C. If inspection of the reference material is deemed necessary to ensure quality, the individual arranges inspection thereof, at step 458. At step 460, an inspection is requested whereby it is registered in the project file management system, to be managed by the processes described herein. In this case, the flow goes to R2, which is illustrated in FIG. 4D.

Inspection Process—Server

[0070]FIG. 4C is a flowchart illustrating the server-side process continuing from R1 of FIG. 4B, where the reference material is not inspected and where document registration is requested. At step 472, the reference material is copied into database 106 (FIG. 1) under a controlled environment so that the individual who created the material is no longer able to modify it. Alternatively, the material is copied into a secure file system and a reference to the material is saved in the database 106. At step 474, information entries, for example, the document reference number, the title, date, and originator, are created in the appropriate index page (see 700 of FIG. 7A). At step 476, links are created from the index page to the appropriate documents and corresponding document fields.

[0071]FIG. 4D is a flowchart illustrating the server-side process continuing from R2 of FIG. 4B, where an inspection of the reference material is requested. Generally, the file management system embodying the file management processes described herein, monitors whether the requested inspection completes on schedule and thus, whether inspection results are available. At step 482, an inspection result object (see 774 of FIG. 7B) is linked to the reference material. At decision block 484, it is periodically determined whether inspection results are available. If inspection results are not yet available, the process essentially waits for a certain period to pass, at step 485, and then returns to block 484 to look for inspection results. Once inspection results are available, they are analyzed. At decision block 486, the inspection result is analyzed to determine whether the reference material is denoted as accepted by the associated inspector. If it is determined that the material is not accepted, then at step 488 it is determined whether the material requires re-inspection or if it is conditionally accepted (a disposition different than accepted). If the material requires re-inspection, the database is updated accordingly. At this point, the process could return to block 484 to determine if additional inspection results are available. If the material is conditionally accepted, the flow goes to decision block 490, where the material is checked to determine whether it is modified to meet the specified conditions from the inspection report, and whether the corrections are certified by an inspection chief. If the material is not yet certified by the inspection chief, at step 491, the process waits for a period and returns to block 490. After a predetermined period has passed without certification by the inspection chief, e-mails are sent to the document creator and to the inspection chief warning that the document is not yet certified.

[0072] Once it is determined at decision block 490 that the material has been certified by the inspection chief, the process continues to step 492, which is the same step that is performed if the reference material is accepted at block 486. At step 492, the current inspection material is copied into database 106 (FIG. 1) under a controlled environment so that the individual who created the material is no longer able to modify it. At step 494, information entries, for example, the document reference number, the title, date, and originator, are created in the appropriate index page (see 700 of FIG. 7A). At step 496, links are created from the index page to the appropriate documents and corresponding document fields.

Project Web Pages

[0073]FIG. 6 illustrates an example of a project site 600, with links (underlined entities) to several other pages of information specific to a particular project (in this case, the J06 project as shown at top of project site 600). Links include, but are not limited to, a directory 602 of official project documents and records; a project source code link 604; a project requirements link 606; a project schedule link 608; one or more current task list links 610 and member web site links 612 for individuals, i.e., engineers/developers, working on the project.

[0074] The directory 602 presents links to indexes of various official documents and records associated with the project, for non-limiting examples, project documents, inspection results, meeting records, changes, error tracking, and other records.

[0075] The project schedule link 608 provides access to the aggregated management task schedule, which is exemplified in and described in reference to FIG. 14. The current task list link 610 provides access to the task schedules of each individual assigned tasks for the project, which is exemplified in and described in reference to FIG. 12. Furthermore, the relation between the individual task schedules, accessed via current task list link 610, and the aggregated management task schedule, accessed via project schedule link 608, is described in detail below under the headings “Management Schedule Generation” and “Updating a Project Schedule.” Finally, the member website link 612 provides access to one or more individual web sites, the creation of which is described above in reference to step 408 of FIG. 4. The individual web sites provide access to draft documents being worked on by the individual, as well as to the individual task lists (see FIG. 12).

[0076]FIG. 7A illustrates an example of an index 700, which is an “Index of Project Documents.” The index 700, and any other indexes linked to the directory 602, includes links to actual files stored in the database 106 (FIG. 1). FIG. 7B illustrates the link relationships between an example index web page 750, the project database 106, and electronic or physical files/objects 770 managed by the database 106. A reference number 752, a document title 754, and a revision number 756 are linked to the same object, that is, official documents 772. Effective date 758 corresponds to the date that the document is effective or last revised in correspondence with the revision number 756. An inspection 760 field is linked to the inspection results 774 corresponding to the inspections performed on the document. Status 762 presents the current status of the indexed document, that is whether the document is still awaiting authorization from the appropriate party. The status 762 field is linked to the authorization history object 776. The information included in the index web page 750, under the management of the database 106, is displayable to a client through a web browser interface.

Method for Managing Project Files Over a Network

[0077]FIG. 8 is a flow chart illustrating steps for managing project files over a network, according to an aspect of the invention. Project initiation information, preferably including at least a description of the project and of individuals performing a project task, is received at step 802. A non-limiting example of the information received at step 802 is illustrated in the project initiation form 550 of FIGS. 5B and 5C. At step 804, it is determined whether the project has been approved by the appropriate entity. At step 806, if the project is approved, the project initiation information is stored in a database such as database 106 (FIG. 1 and FIG. 3) in a manner that indicates that the project is approved.

[0078] At step 808 of FIG. 8, an individual web site, or page, is created for each of the individuals working on the project. Various informational and work product documents can be linked to the individual web sites; for example without limitation, draft files and task schedules. Access to this information is typically regulated and is available to authorized individuals over a network. At step 810, the individual sites are linked to the project site, as exemplified by member web site 612 of project site 600 (FIG. 6). A directory of files associated with the project is created at step 812, which is stored in the database at step 814. The directory of files is linked to the project site at step 816, as exemplified by directory 602 and described in the associated text in reference to FIG. 6.

[0079] At step 818 of FIG. 8, it is determined whether a draft file is completed, where completion is defined as passing inspection. This criteria which defines a completed file serves at least the following purposes: it ensures the quality and integrity of the file, as a result of the inspection by two or more persons related to the project but not the creators of the file; and it clarifies whether a task is completed by providing a binary completion status, i.e., the task is recorded as completed or not without allowing recordation of a percentage of completion. Note that step 818 is related to the inspection process of FIG. 4D.

[0080] Upon completion of a draft file, the status of the file is changed from draft to official and it is stored in the database 106 indicating its status, at step 820. Alternatively, the physical file may be copied into the secure file system and the reference to the file stored in the database 106. Finally, at step 822, the official file is linked to the project site. As exemplified in reference to FIG. 6 and FIG. 7, the official file may be indirectly linked to the project site through a link to an index, such as index 700, which is in turn linked to a directory, such as directory 602, which is presented on the project site, such as project site 600.

[0081]FIG. 9 illustrates an embodiment of the method of FIG. 8, wherein individual task schedules are automatically managed. At step 902, one or more task schedules are received from individuals working on the project. At step 904, the individual task schedules are stored in the database 106 (FIG. 1). Steps 906 and 908, which can complete in any order, include at step 906, automatically linking the individual task schedule to the associated individual's site which is accessible via current task list link 610 of FIG. 6, and at step 908, automatically linking the individual task schedule to the project site. The project site link is depicted as current task list link 610 and described in the associated text in reference to FIG. 6.

Management Schedule Generation

[0082]FIG. 10 illustrates another embodiment of the method of FIG. 8, wherein a summary management schedule is automatically managed. At step 1002, one or more task schedules are received from individuals working on the project. At step 1004, a management schedule associated with the same project is updated based on the individual task schedules. An advantage of having the individual task schedules linked to the management task schedule is that the management task schedule can automatically update upon changes to the individual task schedules. At step 1006, the management task schedule is linked to the project site, as depicted as project schedule link 608 and described in the associated text in reference to FIG. 6.

[0083]FIG. 11 is a block diagram illustrating link associations that are used to manage a project schedule by automatically updating the project schedule, according to an aspect of the invention. In this example, multiple task lists 1102, 1104, and 1106 (see FIG. 12 for an example of an individual task list/schedule) are linked to a system manager 1110, which embodies methods for managing the project schedule as described herein. The task lists 1102-1106 are for individuals working on the project, and each task list is typically associated with a separate individual, although practice of the invention is not so limited. The project schedule 1112 (or “management schedule”) is an aggregation of the individual task lists 1102-1106, and typically does not include task definitions at the level of detail as the individual task schedules. Hence, the project schedule 1112 summarizes the individual task lists 1102, 1104, and 1106. For example, FIG. 14 illustrates an example of a management schedule 1400, which is described in further detail below.

[0084] The completion of each task in the individual task schedules is linked to inspection forms, completed versions of which are stored in the database 106 (FIG. 1). For example, FIG. 13 illustrates an example of a printed or displayed inspection form 1300, which is described in further detail below. Upon a positive disposition by the inspection team that has inspection authority with respect to an individual task product, the associated task is considered completed. In one embodiment, the status of each task is binary variable, in that a task cannot be recorded as partially completed. For example, according to the project file management techniques described herein, a task is either completed or not completed, but not a percentage completed. Thus, only after the authorized task inspection team has completed the inspection of the task product and has stored a completed inspection form in the database 106, does the task product receive an “accepted,” or similar, disposition. In certain embodiments, the individual task schedule is automatically updated based on the results of the completed inspection forms. In addition, once the individual task lists 1102, 1104, and 1106 are updated, the project schedule 1112 is subsequently updated based on the updated individual task lists 1102, 1104, and 1106 (for example, as described in reference to FIG. 21).

[0085]FIG. 12 illustrates an example of an individual task schedule 1200 for an individual “TM.” FIG. 13 illustrates an example of a printed or displayed on-line inspection form 1300. In one embodiment, individual task schedule 1200 and inspection form 1300 provide status data that is used to automatically generate or update a management schedule 1400, as illustrated in FIG. 14. This process is facilitated by the links described in reference to FIG. 11. Upon completion of an inspection form (such as form 1300), an individual task schedule (such as task schedule 1200) is updated according to the completed inspection form, and a management schedule (such as schedule 1400) is consequently updated.

[0086] Referring to FIG. 13, document reference 1302 is mapped to the same task in the related individual task schedule. Note that the document reference 1302 does not refer to documents only, but more generally to products of individual tasks. Furthermore, a result reference 1304 is mapped to the “Actual End” column 1208 (FIG. 12) of the related individual task schedule, such as schedule 1200 of FIG. 12. The date that is automatically entered into the “Actual End” column 1208 is automatically determined based on the latest acceptance completion date for all of the required inspection forms (i.e., “Accept” in result reference 1304) for a particular task. The method includes logic for determining when all of the inspections are completed, and whether all of the completed inspection forms have indicated “Accept” in result reference 1304, in order to determine the “Actual End” date for column 1208. Alternatively, if the inspection result is conditional acceptance, the chief inspector must signal that all of the corrections are incorporated into the product as shown at step 490 in FIG. 4D.

[0087] Referring to FIG. 12 and FIG. 14, certain cells of the task schedule 1200 are mapped to the management schedule 1400. For example, cell 1202 of task schedule 1200, which is associated with the earliest “Planned Start” of a particular task, is mapped to cell 1402 of management schedule 1400. Similarly, cell 1204, which is associated with the latest “Planned End” of a particular task, is mapped to cell 1404. Thus, if data in cell 1202 or 1204 is added, revised, or deleted, cell 1402 or 1404 is automatically revised accordingly. Cells 1206 and 1406 are similarly related to each other as are the cells previously discussed. There are numerous other task schedule cells similar to cell 1202 that map to associated management schedule cells for a particular individual, in this case, “TM,” thus providing automatic updates of the high-level management schedule 1400 according to an aspect of the invention.

Updating a Project Schedule

[0088]FIG. 15 is a flow chart illustrating steps for generating and/or updating a schedule for a project, according to an aspect of the invention. At step 1502, a completed inspection form including the inspection data is received over a network from the database 106 (FIG. 1). A completed inspection form corresponds to the result of the inspection team meeting, held to inspect a task product, whereby the completed inspection form includes information based on the inspection. Refer back to FIG. 13 for an example of an inspection form 1300.

[0089] At step 1504, an individual's task schedule (i.e., the individual responsible for completing the task), is automatically updated based on the received inspection forms. According to a policy, a project task is not completed unless the inspection result report so indicates, or unless the chief inspector certifies the corrections to the product in the case where the inspection result indicates a conditional acceptance, as shown in FIG. 4D. At step 1506, a management schedule, as exemplified in FIG. 14 and which is an aggregation of all of the individual task schedules associated with the project, is automatically updated based on the updated individual task schedules from step 1504.

[0090] In one embodiment, the individual and management schedules are governed by a policy specifying that a project task cannot be partially completed and the automatic updating of the schedules is performed according to this policy.

[0091] At step 1508, the completed project task product is stored in the database 106 (FIG. 1 and FIG. 3) and access to the product is regulated according to a document control policy. In one embodiment, the completed task products are accessible via a packet-based network, such as the Internet or an enterprise network, via appropriate links such as hyperlinks.

Task Hierarchy

[0092] According to an embodiment of the invention, a task hierarchy is used to manage a development project. A task hierarchy represents relationships among tasks that are related to completion of a development project. In one embodiment, the relationships represent dependencies among task in the hierarchy, such that completion of a parent task depends on completion of one or more lower-level child tasks. Therefore, the dependencies specify how changes to a member task in the hierarchy affects other member tasks in the hierarchy, if at all. The use of a task hierarchy facilitates the automated update of project task schedules in response to changes to lower level task schedules.

[0093]FIG. 16 depicts a task hierarchy that may be used to manage a development project in accordance with an embodiment of the invention. The task hierarchy depicted in FIG. 16 includes three levels of tasks. These include level 1 tasks, level 2 tasks that are required to be completed to complete specific level 1 tasks, and level 3 tasks that are required to be completed to complete specific level 2 tasks. The number of levels of the hierarchy of tasks is not limited to three levels, as depicted in FIG. 16, but may comprise as many levels as necessary to define the major tasks and associated sub-tasks (or detail tasks) of a development project.

[0094] Note that a task at any particular level is not required to have associated sub-tasks. For example, task 1602 (Design Document Guideline) and task 1604 (J07 Project Plan), which are defined as level 1 tasks, are not defined to have any associated lower level tasks. In addition, the level 2 tasks collectively identified as tasks 1608 (Common, Send Service, and Send Timer), are not defined to have any associated level 3 tasks that require completion to complete the tasks 1608. As depicted in FIG. 16, tasks 1602, 1604, 1606, and 1610 are level 1 tasks (sometimes referred to as major tasks). The three tasks collectively identified as tasks 1608 are level 2 tasks which require completion in order to complete the associated level 1 task, that is, task 1606 (Package Design). In addition, task 1610 (Class Specification) is a level 1 task, which has two associated level 2 tasks, 1612 (Common) and 1614 (Send Timer). Furthermore, task 1612 has two associated level 3 tasks, 1616 (CBaseService) and 1618 (CBaseSystemRegistry), and task 1614 has two associated level 3 tasks, 1620 (CSendTimer) and 1622 (CSendSystemRegistry). The tasks depicted in FIG. 16 are for purposes of example only, to illustrate a hierarchy of tasks related to completion of a development project. Thus, practice of the invention is not limited to the tasks depicted.

Task Data Structure

[0095]FIG. 17 is diagram graphically illustrating a task data structure 1700, according to an embodiment of the invention. The data associated with each task is stored in some form of computer memory, for example without limitation, memory associated with database 106. Task data structure 1700 may be implemented using object-oriented programming techniques, whereby task data structure 1700 is defined as an object class, and each task is instantiated as an object with its corresponding data being states of the object. Practice or implementation of the invention is not limited to the use of object-oriented programming techniques, for other computer software programming techniques that are known in the art can be used to implement the techniques described herein.

[0096]FIG. 17 depicts task data structure 1700, implemented as an object class, wherein attributes include, but are not limited to, a task name 1702, a task schedule 1704, a vector of lower-level references 1706, a parent reference 1708, and a vector of history 1710. The task name 1702 is simply the name assigned to the task, used to identify the task object. An example of a task name 1702 is “CSendTimer” (reference 1620 of FIG. 16).

[0097] The task schedule 1704 comprises dates related to performance of the task. In one embodiment, the dates include a “planning date”, a “planned start” date, a “planned end” date, an “actual start” date, and an “actual end” date. The planning date indicates the latest date on which any of the other task schedule dates were entered or updated. In one embodiment, the current date (i.e., the date on which an entry or change to a schedule is made) will automatically be retrieved from the system clock and entered into the appropriate planning date field. The substance of the other task schedule dates, that is, the planned and actual dates, is self-explanatory. Manipulation of these fields can be performed through use of an on-line task scheduler form, illustrated in FIG. 20 and described in reference thereto.

[0098] Implementation of the task schedule 1704 can take multiple forms and remain within the scope of the invention. For example without limitation, the task schedule 1704 can be implemented using vector, map, list, or struct classes of programming objects.

[0099] The vector of lower-level references 1706 is a programming tool used to provide references from a particular task to lower level tasks in the hierarchical structure of tasks. For example, a level 2 task, such as task 1612 (FIG. 16) has a vector of references that point to its associated lower-level, or child, tasks 1616 (FIG. 16) and 1618 (FIG. 16). The term “vector” refers to a standard template library associated with the C++ programming language, which provides an implementation of a 1-dimensional, random access sequence of items. Practice of the invention is not limited to the use of vectors in providing references from one task object to other task objects, for other referencing techniques can be implemented and still fall within the scope of the present invention.

[0100] The parent reference 1708 is used to provide a reference from a particular task to an associated higher level, or parent, task in the hierarchical structure of tasks. For example, a level 2 task, such as task 1612 (FIG. 16) has a parent reference to its associated parent task 1610. The parent reference 1708 is not limited to any particular form, and may take the form, for example, of a simple pointer from a task to its parent task. Use of the vector of references 1706 and the parent reference 1708 is described in more detail in reference to FIG. 18.

[0101] The vector of history 1710 provides a reference from a particular task to historical data related to the particular task. For example, the vector of history 1710 can be implemented as a simple pointer to a location of data representing historical dates associated with the particular task. Thus, a task schedule can include historical (or “old,” or “obsolete”) dates for any of the date fields, such as planned start, planned end, actual start, and actual end, along with current dates, such as referred to collectively as element 1210 of FIG. 12. This feature provides information on the incremental magnitude of a schedule slip or advance to a viewer of a task schedule.

[0102]FIG. 18 is a diagram illustrating a hierarchical relationship of task data structures, visually depicting relations between task objects, according to an embodiment of the invention. FIG. 18 depicts Level 1 task object 1800; Level 2 task objects 1810, 1820, and 1830; and Level 3 task objects 1840 and 1850. Each of the objects is depicted as having the data structure illustrated in FIG. 17, including name, schedule, child references, parent references, and history. Some data fields have null values to represent fields with no relevant data, for example, parent reference field 1804 of task object 1800 (indicating no parents, and thus, no parent references), child references fields 1814 of task object 1810 (indicating no children, and thus, no child references), and child references fields 1844 of task object 1840 (indicating no children, and thus, no child references).

[0103]FIG. 18 illustrates the relationships and the interactions among multiple task objects for a development project, and the following example is used to assist in illustrating the object interactions. For example, if an update is made to the schedule data of task object 1840, then according to the techniques for automatic task schedule updating described herein, parent references 1846 of task object 1840 are accessed to identify the parent task of object 1840. Note that the parent references 1846 (generally, parent reference 1708 of FIG. 17) may be implemented as a vector, therefore, the task data structure 1700 allows a hierarchy of tasks in which a task may have more than one parent task. In the example, task object 1840 has a single parent task referred to in the parent references 1846, which is to task object 1820 which depends on the task associated with task object 1840 for completion. Once a parent task is identified, it is accessed to identify its child references. For example, the vector of lower-level references for task object 1820 points to the two children tasks of task object 1820, which are task object 1840 and task object 1850. Once the child tasks are identified, the schedule data for the child task objects is accessed and analyzed to determine whether any of the schedule dates of parent object 1820 requires updating as a result of the change to the schedule data of child object 1840. For example, if the actual end date of the task represented by task object 1840 is updated to be later than the actual end date represented by sibling task object 1850, then the parent task object 1820 requires an update to reflect the current actual end date of the parent task, and the schedule data of task object 1820 is updated accordingly.

[0104] Furthermore, parent references of parent object 1820 are accessed to identify any parents of task object 1820, so that a determination can be made as to whether the schedule data of the parent task object at the next higher level requires updating as a result of the change to the schedule data of task object 1840 and the resultant change to object 1820. For example, the parent references of object 1820 points to task object 1800. Task object 1800 is accessed to identify its child references. For example, the vector of lower-level references for task object 1800 points to the three children tasks of task object 1800, which are task object 1810, task object 1820, and task object 1830. Once the child tasks are identified, the schedule data for the child task objects (i.e., 1810, 1820, and 1830) is accessed and analyzed to determine whether any of the schedule dates of their parent object 1800 requires updating as a result of the change to the schedule data of grandchild object 1840. This process is performed along all necessary levels of the task hierarchy until the top level (Level 1) is reached and any required updates to task schedules at the top level are determined. According to an embodiment of the invention, a method for updating a task schedule data structure, which illustrates in more detail the analysis of task schedule dates, is illustrated in FIG. 21.

Task Management Tools

[0105]FIG. 19 illustrates an example of an on-line task assignment form 1900, implemented in an embodiment of the invention to assign specific tasks to specific project participants. Task assignment form 1900 includes a “Tasks” column 1902 and an “Assigned to” column 1904. Columns 1902 and 1904 include data entry fields for entering a task name, such as “Common” for task 1612 (FIG. 16), in the fields of column 1902, and a project participant's name (or other identifying data, for example, employee number) in the fields of column 1904.

[0106] The task assignment form 1900 further includes pull-down menus, such as “Major Task List” menu 1906 and “Task Level” menu 1908. In certain instances, particular tasks may be required of a development project, due, for example, to company policy or the nature of the development project. In such instances, the menu 1906 can be programmed to include such required tasks. Consequently, the pull-down menu 1906 can be utilized by a project participant, for example, an engineering manager or project lead, when assigning project tasks through the on-line task assignment form 1900. Furthermore, as major, or high-level, tasks are identified for the project, they can be added to the menu 1906 by someone such as an administrator or a project manager. In one implementation, the menu 1906 includes only major tasks, defined as level 1 tasks, but the invention is not so limited. The “Task level” pull-down menu 1908 can be utilized by a managing project participant to assist in assigning levels (e.g., levels 1 through 3 of FIG. 16) to the tasks that are being entered into the system and assigned through on-line task assignment form 1900.

[0107]FIG. 20 illustrates an example of an on-line individual task scheduler form 2000, implemented in an embodiment of the invention to enter task schedule and hierarchy information. Task scheduler form 2000 is an interface used to view tasks that are already entered into the system, as well as to enter tasks and associated dates. Task scheduler form 2000 includes a “Tasks” column 2002, which includes data entry fields for entering a task name, such as “Common” for task 1612 (FIG. 16), in the fields of column 2002. According to one embodiment, tasks that are entered into a database, such as database 106 (FIG. 1), are presented in task scheduler form 2000. In addition, the tasks that are presented in task scheduler form 2000 are presented in a manner representing their position in the task hierarchy. For example, column 2004 can display a “+”, which can be clicked with a computer mouse or other pointing device, which causes display of associated lower-level tasks, preferably indented from their parent, or dependent, task. For example, clicking on the “+” in column 2002 adjacent to the “Package Design” task 1606 (FIG. 16), would cause a display of its related lower level tasks, that is, the “Common”, “SendService”, and “Send Timer” tasks collectively identified as tasks 1608 (FIG. 16). Furthermore, new lower-level tasks can be entered directly at this particular stage of the task hierarchy through the on-line individual task scheduler form 2000, and will, therefore, automatically be associated with the parent task (e.g., Package Design) currently being displayed. According to one embodiment, the association is a dependency, whereby a task depends on completion of one or more other tasks for its completion. The level 2 tasks are presented as to visually portray their position in the hierarchy, in relation to other tasks in the task hierarchy, such as through indentation.

[0108] Task scheduler form 2000 further includes pull-down menus, that is, “Major Task List” menu 2006 and “Task Level” menu 2008. These pull-down menus are used similarly to menus 1906 and 1908 of FIG. 19, to view and/or enter major tasks (menu 2006) and to specify hierarchical task levels (menu 2008).

[0109] Task scheduler form 2000 further includes several columns related to development project task performance and completion, which include data entry fields for entering and viewing the respective schedule dates for the tasks. The date columns include “Planned date” column 2010 (equivalent to “Identified Date” of FIG. 12 and “Planning Date” of FIG. 17), “Planned Start” column 2012, “Planned End”, column 2014, “Actual Start” column 2016, and “Actual End” column 2018, which correspond to the task schedule 1704 (FIG. 17) data elements of the task objects.

[0110] Use of on-line task scheduler form 2000 operates upon the task objects that define the tasks. For any task, entering data in any of the columns 2002 and 2010-2018 creates or changes the state of the task object that defines the particular task. For example, entering or changing data in column 2002 affects the state of the task name 1702 attribute (FIG. 17), entering or changing data in columns 2010-2018 affects the state of the task schedule 1704 attribute (FIG. 17) and possibly the vector of history 1710 attribute (FIG. 17), and use of menu 2008 in relation to a particular task affects the state of the vector of lower level references 1706 (FIG. 17) and parent reference 1708 attributes (FIG. 17).

Method of Updating Task Schedule Data

[0111]FIG. 21 is a flowchart illustrating a process for updating a task schedule data structure, according to an embodiment of the invention. The process illustrated is triggered, for example, by an event such as entering or changing data at any level of the task hierarchy for a particular development project, through on-line task scheduler form 2000 or by completion of a task. This triggering event triggers the update process (FIG. 21) for the parent task, using the parent reference 1708 (FIG. 17). The process illustrated is operable at all levels of the task hierarchy, but is configured (as illustrated) such that from the standpoint of any given task, the process of updating the task “looks down” the task hierarchy to determine and implement an update to the given task.

[0112] Thus, for any given task, upon an action that triggers the update process for a project task schedule (such as management schedule 1400 of FIG. 14), at step 2102 it is determined whether the given task has any lower-level, or child, tasks (in relation to the task hierarchy described above). If no lower level tasks exist, the method returns with no action, at step 2104. For example, if a level 2 task with no associated level 3 tasks is being processed, the inquiry at step 2102 would be negative and the processing would return to the calling process. In one embodiment, the process returns to the triggering task, which was changed, for example, through the use of the task scheduler form 2000 of FIG. 20.

[0113] If the response at step 2102 is positive, that is, the given task does have lower-level tasks in the defined task hierarchy, then at step 2106 it is determined whether the triggering action was an addition of a lower-level task. If the response to step 2106 is negative, then at step 2108 it is determined whether the triggering action was a change to a “planned” date (i.e., planned start or planned end) of the task schedule 1704 data (FIG. 17) for a lower-level task. If the response to step 2108 is negative, then at step 2110 it is determined whether the actual start date has been updated for the given task. If the response to step 2110 is negative, then at step 2112 it is determined whether all of the lower-level tasks have been considered. If the response to step 2112 is negative, then the method returns to start at step 2114.

[0114] If the response to step 2112 is positive, then at step 2126 the latest actual end date from the lower-level tasks is retrieved and stored in the data structure of the given task. For example, the vector of lower-level references 1706 (FIG. 17) of the given task are accessed to identify all of the children of the given task. According to step 2126, the task schedule 1704 (FIG. 17) of each of the children tasks (referred to as lower-level tasks in block 2126) is accessed to determine the latest actual end date among them, which is then referenced within the task schedule 1704 of the given task. Hence, the change made to the task schedule 1704 of a triggering task is “rolled-up” into the task schedule 1704 of the given task, if necessary. If the change to the triggering task does not result in it having the latest actual end date among its sibling tasks (i.e., the tasks at the same hierarchical level with the same parent task), then no change to the given task schedule is required. Once step 2126 is completed, at step 2114 the process returns to the calling process. In one embodiment, step 2114 returns to the calling process of the child task manipulated in the task scheduler form 2000 (FIG. 20).

[0115] Returning to step 2110, if the response to step 2110 is positive (i.e., the actual start date of a lower-level task has been updated, which is the triggering event), then at step 2124 the earliest actual start date from the lower-level tasks of the given task are retrieved and stored in the data structure of the given task. According to step 2124, the task schedule 1704 (FIG. 17) of each of the lower-level tasks is accessed to determine the earliest actual start date among them, which is then referenced within the task schedule 1704 of the given task. Hence, the change made to the task schedule 1704 of a triggering child task is rolled-up into the task schedule 1704 of the given task, if necessary. If the change to the triggering task does not result in it having the earliest actual start date, then no change to the given task schedule is required. Once step 2124 is completed, at step 2114, the process returns to the calling process.

[0116] Returning to step 2108, if the response to step 2108 is positive (i.e., the planned start or end date of a lower-level task has been updated, which is the triggering event), then the process moves to step 2116, whereby the current data is moved to the vector of history 1710 (FIG. 17) for the given task.

[0117] Returning to step 2106, if the response at step 2106 is positive (i.e., a lower-level task has been added and associated with the given task), then at step 2116 the current data is moved to the vector of history 1710 (FIG. 17) for the given task. At step 2118, the current date is used as the planning date in task schedule 1704 (FIG. 17) for the given task. In addition, if it is determined that the revision to the triggering task requires revisions to another related parent task of the triggering task, then the current date is also used as the planning date in the other parent's task schedule 1704. In one embodiment, the current data is retrieved from the system clock of the computer platform, such as workstation 102 (FIG. 1) or computer system 200 (FIG. 2), on which the project management system executes.

[0118] At step 2120, the earliest planned start date from the lower-level tasks (which includes the triggering task) is retrieved and stored in the data structure of the given task. According to step 2120, the task schedule 1704 (FIG. 17) of each of the lower-level tasks is accessed to determine the earliest planned start date among them, which is then referenced within the task schedule 1704 of the given task. Hence, the change made to the task schedule 1704 of the triggering child task is rolled-up into the task schedule 1704 of the given task, if necessary. If the change to the triggering task is not to the planned start date, then the logic simply moves to step 2122. If the change to the triggering task does not result in it having the earliest planned start date, then no consequent change to the given task schedule is required.

[0119] Alternately, the logic of FIG. 21 could contain a decision block prior to step 2120, wherein it is determined whether the change to the planned date is a change to the planned start date or to the planned end date, and then the logic could continue to either step 2120 or step 2122 depending on the result from the decision block.

[0120] Returning to the method as depicted in FIG. 21, at step 2122, the latest planned end date from the lower-level tasks is retrieved and stored in the data structure of the given task, similarly as described above with respect to step 2120. Again, the change made to the task schedule 1704 of the triggering task is rolled-up into the task schedule 1704 of the given task, if necessary. If the change to the triggering child task does not result in it having the latest planned end date, then no change to the given task schedule is required. Once step 2122 is completed, at step 2114 the process returns to the start.

[0121] Throughout the process depicted in FIG. 21, if any of the schedule entries of the given task change, the given task will trigger the same process of FIG. 21 in its parent task through the reference to the parent task 1708 (FIG. 17). Because the process of FIG. 21 is triggered by the child task, step 2102 is the safety check to prevent unrelated processes to trigger the process flow of FIG. 21.

Software Design Specification

[0122]FIG. 22 is a flowchart that illustrates a software design and coding process overview. At block 2200, a designer drafts a design specification document. Although a design specification document may take many forms, in one embodiment, a design specification document includes a class specification section.

[0123] An example of a portion of a class specification AOO is shown in Appendix A. According to the embodiment, the class specification is organized into three sections: (1) function list A02; (2) class attributes A04; and (3) function definition A06.

[0124] A function list A02 section includes function declarations of the particular class described in the class specification section of a design specification. In the example class specification A00 of Appendix A, a class named “CHTTP_HTML” is specified. Furthermore, the function list A02 includes parameters associated with the functions declared in function list A02. In one implementation, parameters of the functions are prefixed with either “in_”, “out_”, or “inOut_”, depending on how the parameters are used in the respective function. For example, parameter A10 depicts a parameter named “in_sIP” and parameter A12 depicts a parameter named “out_StatusInfo.” Although the preceding prefixes are presented as an example, the significance of organizational rules and required addendums associated with parameter naming is described further below.

[0125] In addition, structures might also be declared in a function list A02. For example, structure A14 depicts a structure named “VendorModellnfo”. In one implementation, members of structures are prefixed with “m_”, as depicted by structure member A16, “m_sVendorName”. Although the preceding prefix is presented as an example, the significance of naming conventions is described further below.

[0126] The class attributes A04 section lists and defines the attribute members of the particular class described in the class specification section of the design specification document. In one implementation, attribute names are prefixed with “m_”. For example, attribute A18 depicts an attribute named “m_VendorModellnfoVector”. Although the preceding prefix is presented as an example, the significance of organizational rules and required addendums associated with class attribute naming is described further below.

[0127] The function definition A06 section describes the algorithms used to implement the functions that are associated with the particular class described in the class specification section of the design specification document. Function parameters such as parameters A10 and A12 and class attributes such as attribute A18 are used in the function definitions described in the function definition A06 section.

[0128] In addition, local variables used in a function definition may be specified in an associated algorithm of the function definition A06 section. In one implementation, local variable names that are specified in the function definition A06 section are prefixed with “loc_”. Although the preceding prefix is presented as an example, the significance of organizational rules and required addendums associated with local variable naming is described further below.

[0129] Returning to FIG. 22, at block 2202, the software code associated with the corresponding design specification document is tested to verify the logic therein. Often, block 2200 is performed concurrently or iteratively with block 2202. At block 2204, the draft design specification document that is generated at block 2200 is reviewed and inspected. The review and inspection process of block 2204 may be one integrated process or multiple processes.

[0130] At block 2206, after passing the inspection of block 2204, the design specification document is registered, internal to the organization, as an official document. As an official document, the design specification is controlled through a document control system. Further, the design specification document may be a part of a larger software specification document. Finally, at block 2208, at the appropriate time a software coder implements the design specified in the design specification. To that end, the coder typically codes and tests the software.

Design Specification Verification Tool

[0131]FIG. 23 is a block diagram that illustrates functional components of a design specification verification tool (“verification tool”), such as verification tool 512 of FIG. 5A. Verification tool 512 comprises a variable checker 2302, rules 2304, reporter 2306 and optionally, a naming rule enforcer 2308 and a class reconciler 2310.

[0132] Variable checker 2302 is configured to automatically check the class attribute names in the function definition section of a design specification against the class attribute names described in the class attribute section of the design specification. Referring to Appendix A for an example, variable checker 2302 finds class attribute names listed in the function definition A06 section of the class specification A00 and compares them with the class attribute names described in the class attributes A04 section of the class specification A00 of the same design specification.

[0133] For example, variable checker finds class attribute name A20 (m_VendorModelInfoVector) referenced in function definition A06 and then compares class attribute name A20 with the class attribute names described in class attributes A04. In this example, class attribute name A18 (m_VendorModelInfoVector) is found in class attributes A04 and matched with class attribute name A20 of function definition A06. Hence, it is verified that the design specification is correct with respect to the class attribute m_VendorModelInfoVector. That is, there is no misspelling with respect to the specific class attribute, nor is there an inconsistency between the class attributes A04 and function definition A06 sections of the class specification AOO with respect to the specific class attribute. In an embodiment, variable checker 2302 finds any other occurrences of class attribute m_VendorModelInfoVector in function definition A06 and verifies them against the original occurrence. In one embodiment, if it is discovered that a class attribute name appears in function definition A06 but is not found in class attributes A04, then the class attribute name is stored or reported as an undeclared, or undefined, class attribute name. Hence, misspellings would be identified based on inconsistencies between the two sections.

[0134] Variable checker 2302 is further configured to automatically check the function parameter names in the function definition section of a design specification against the function parameter names in the function list section of the same design specification. Referring to Appendix A for an example, variable checker 2302 finds function parameter names included in the function definition A06 section of the class specification A00 of a design specification and compares them with the function parameter names declared in the function list A02 of the class specification A00 of the same design specification.

[0135] For example, variable checker finds the function parameter name A22 (in_sIP) of the function A21 (setIPAddress) in function definition A06 and then compares function parameter name A22 with the function parameter names included, or declared, in function list A02. In this example, function parameter name A10 (in_sIP) is found in All (setIPAddress) within function list A02 and matched with function parameter name A22 of function definition A06. Hence, the design specification is correct with respect to the function parameter name in_sIP. That is, there is no misspelling with respect to the parameter name, nor is there an inconsistency between the function list A02 and function definition A06 sections of the class specification A00, with respect to the specific function parameter name. Furthermore, variable checker 2302 finds any other occurrences of parameter name in_sIP in the function definition A06 and verifies them against the original occurrence. In one embodiment, if it is discovered that a parameter name appears in function definition A06 but is not found in function list A02, then the parameter name can be stored or reported as an undeclared parameter. Hence, misspellings would be identified based on inconsistencies between the two sections.

[0136] In one embodiment, variable checker 2302 is further configured to locate local variable names referenced in function definition A06. Local variables may be specified in algorithms within the function definitions A06. If local variable names are specified in function definition A06, they should be named according to organizational rules. However, local variable names are not necessarily used in other sections of the class specification A00, so once located in the function definition A06 section, there is no other section with which to check the local variable name. Hence, if a local variable name is found only once in a given algorithm in function definitions A06, there exists the possibility that the variable is incorrectly spelled somewhere else within the given algorithm. Although not conclusive, a single occurrence of a local variable name within an algorithm of function definitions A06 can mean that there might be an error in the design specification, so single occurrences of local variable names are reported. Alternatively, the frequencies of occurrences of the local variables can be reported. Therefore, a user is alerted to the possibility of an error and can research the issue further.

[0137] With respect to the checks relating to class attribute names and function parameter names as described above, verification tool 512 reports a discrepancy if one is found. For example, reporter 2306 of verification tool 512 can report any discrepancies with respect to the design specification being verified by saving data representing the problem in local or shared memory, by displaying an indication of the problem, by printing an indication of the problem, or by any combination of these. Furthermore, in the embodiment in which local variable occurrences are verified, reporter 2306 can report single occurrences of local variables in any of the same manners. In one embodiment, the information used in reporting discrepancies includes the number of times that a given attribute or parameter is used in a respective function represented in function definition A06.

[0138] Rules 2304 includes documentation rules with respect to organizational naming conventions regarding, for example, class attribute names, function parameter names, structure names and local variable names. For example, in one implementation, attribute names are prefixed with “m_”, function parameters are prefixed with either “in_”, “out_”, or “inOut_”, and local variable names are prefixed with “loc_”. Rules 2304 are not limited to the number or type of rules described above, for rules 2304 can be implemented to include any number of organizational constraints relating to design specification generation, that is, naming rules or otherwise. Other conventions embodied in rules 2304 may be used to verify other elements of a design specification.

[0139] Rules 2304 are used by the variable checker 2302 to check the design specification document or file. The naming conventions embodied in rules 2304 are used to locate applicable elements, for example, class attributes names, function parameter names and local variable names, within the different sections of the class specification A00 (i.e., function list A02, class attributes A04, function definition A06) so that the elements can be compared to occurrences in other sections of the class specification A00. Once a type of element of interest is located in the function list A02 or class attribute A04 sections based on rules 2304, for example, via naming prefixes associated with respective element types, the function definition section A06 is searched for a corresponding element. This search can entail a complete element name or part of an element name found in the respective section, rather than just the applicable prefix. Thus, misspelled occurrences of corresponding elements are likely to be found more readily.

[0140] Implementations of these teachings may vary. For example, elements may first be located in function definition A06 and then searched for and verified with corresponding elements in the function list A02 and class attributes A04.

[0141] Optional naming rule enforcer 2308 of verification tool 512 is a module that can enforce naming rules on occurrences of elements within the class specification A00 of a design specification. For example, when discrepancies are discovered within the various sections of the class specification A00, naming rule enforcer 2308 is configured to reconcile the discrepancies by re-naming the misspelled elements according to the rules. Rules 2304 is referenced by naming rule enforcer 2308 in the course of enforcing the naming conventions. Furthermore, verification tool 512 can be configured with other similarly functioning rule enforcers in addition to or instead of naming rule enforcer 2308, whereby any number of other rules or organizational conventions can be enforced upon the design specification document.

[0142] Optional class reconciler 2310 of verification tool 512 is a module that can reconcile usage of elements, e.g., class attribute names and function parameter names, among different classes of the software application. After a first class (represented by a class specification of a design specification) is processed by verification tool 512, subsequent verification of other class specifications can use the knowledge obtained in verifying and reconciling the first class. Thus, consistency among different classes represented by different corresponding class specifications is ensured with respect to referenced class attributes and function parameters. If the functionality of verification tool 512 is expanded to include verification of elements other than those discussed herein, which is specifically contemplated, then the functionality of class reconciler 2310 can expanded accordingly in order to reconcile the other elements among the various class specifications.

[0143] In one embodiment, class reconciler 2310 is configured to reconcile elements among a parent class and any associated derived classes. Hence, verification of a derived class is benefited by employing knowledge gained in verifying the parent class.

Process for Verifying a Design Specification Document

[0144]FIG. 24 is a flowchart that illustrates a process 2400 for verifying an electronic design specification document. Input to process 2400 is one or more computer-readable files that represent the design specification document and that are stored on a suitable computer-readable medium. For example, each class specification of a plurality of class specifications of a design specification document may be represented as a separate computer-readable file. Process 2400 is embodied in computer software code and, thus, is an automated verification process. Further, process 2400 may be carried out by verification tool 512 (FIG. 23). Process 2400 depicts a specific implementation of the embodiments described herein and, therefore, some steps can be added or deleted from process 2400 and the resulting process still falls within the scope of the broader teachings herein.

[0145] At decision block 2402, it is determined whether an input file is specified. Determining that an input file is not specified is an indication that an inappropriate input command was submitted to the program process. If an input file is not specified, then at block 2404 an error message is reported and at block 2406 the process ends. In an embodiment, the error message includes directions as to how to use the program implementing the process 2400. If it is determined at block 2402 that an input file is specified, then the title of the program is reported at block 2408. For example, in one implementation, at block 2408 “Variable Checker” is reported near the beginning of an output file, output.txt.

[0146] At decision block 2410, it is determined whether there are more file names to process. In an implementation, file names representing class specifications of a design specification are passed, in an array, from a command line to the process 2400, and are processed in the sequence indicated in the array. If there are no more file names to process, then at block 2412 an end message is reported and at block 2414 the process ends. If it is determined at block 2410 that there are more file names to process, that is, there are more class specifications to process as indicated in the command array, then the next unprocessed file is retrieved at block 2416.

[0147] At decision block 2418, it is determined whether the file currently being processed is of a proper file type. For a non-limiting example and according to one implementation, all class specification files are required to be in HTML format. If the file type is not proper for a class specification file, then the process returns to decision block 2410 to determine whether there are any more files to process. If it is determined at block 2418 that the file type of the current file is proper, then at block 2420 the file is opened. At decision block 2422, if the opening of the file at block 2420 is unsuccessful, then the process returns to block 2410 to determine whether there are any more files to process. For example, a file may not successfully open due to a file corruption.

[0148] If the opening of the file at block 2420 is successful, then at decision block 2424 it is determined whether the file represents a class specification. If the file does not represent or contain a class specification, then the process returns to block 2410 to determine whether there are any more files to process. For example, a file name other than a class specification file name may have been inadvertently passed to the process through the input command. If the file does represent a class specification, then at block 2426, the class name is reported. For a non-limiting example, in reference to the class specification of Appendix A (Sect. 5.8.2 of Appendix A), “CHTTP_HTML” is reported in association with the output file, output.txt.

[0149] At block 2428, function names and associated parameters are stored. For example, function list A02 (Appendix A) of class specification A00 is scanned and/or parsed and functions and associated parameters which are found in function list A02 are stored in memory.

[0150] At block 2430, attribute names are stored. For example, class attributes A04 (Appendix A) of class specification A00 is scanned and/or parsed and attributes which are found in function list A02 stored in memory.

[0151] At decision block 2432, it is determined whether there are any functions to process. For example, it is possible that no functions were listed in function list A02 (Appendix A) of a class specification such as A00 (Appendix A), wherein there would be no function definition A06 (Appendix A) section. Thus, the process returns to block 2410 to determine if there are more input files to process. If it is determined at block 2432 that there are no more functions to process, then return to block 2410 to determine if there are more input files to process. If there are functions to process, then at block 2434 the function definition section of the file is located, such as function definition A06 of class specification A00.

[0152] Function definition A06 is scanned and/or parsed to identify functions and each function is processed in turn. At block 2436, the name of the function currently being processed is reported. For example, a function name is stored in an output file, such as output.txt, which can be printed. At decision block 2438, it is determined whether the function name is stored, such as at block 2428. Thus, since at block 2428 the function names found in the function list (e.g., function list A02 of Appendix A) of a class specification file are stored, at block 2438 the function definition section (e.g., function definition A06 of Appendix A) is processed to determine if a function defined in the function definition section is consistent with a function found in the function list section. As such, the function definition section is being verified against the function list section of a class specification of a design specification to determine if the respective occurrences of the function name are consistent.

[0153] If it is determined at block 2438 that a function name found in the function definition section is not already stored, then at block 2440 an indication is made that the function being processed is not declared. For example, a function name is stored in an output file as an undeclared function, which can be printed. Encountering a function that is not declared could be an indication that the function is misspelled in either function definition A06 or function list A02 because matching function names were not found.

[0154] Designating a function as undeclared may simply mean that the function name is misspelled in either the function list or the function definition sections of the class specification. In an embodiment that includes a naming rule enforcer 2308 (FIG. 23), “undeclared” functions can be reconciled by locating a misspelled occurrence of the function and enforcing the naming rules to correct the misspelled occurrence, thereby resulting in consistent and correct function naming throughout the class specification. For example, if function name setIPOAddress is encountered while processing functions defined in function definition A06 and function name setIPAddress is encountered in function list A02 while comparing the respective function names of function definition A06 with function list A02, then setIPOAddress is reported as an undeclared function name. Furthermore, rules enforcer can operate to correct the function name setIPOAddress, as found in function definition A06, to setIPAddress as found in function list A02, under the assumption that function list A02 declares the correctly spelled function name.

[0155] If block 2440 is reached due to the presence of an undeclared function, then function parameter checking is bypassed and, at block 2446, class attribute names found referenced in the function definition section (e.g., function definition A06 of Appendix A) of the class specification are checked against those stored at block 2430 to determine if matching parameter names are present.

[0156] Returning to decision block 2438, if it is determined that the current function name is stored, then at block 2442 the parameter names associated in the function definition section with the current function are checked to determine whether they are stored, such as at block 2428. If any given parameter name associated with the current function is not stored, then at block 2444 the given parameter name is reported, e.g., stored, as an undeclared parameter and an undeclared parameter frequency variable associated with the given parameter name is incremented.

[0157] Once all of the parameter names associated with the current function are checked against the parameter names stored at block 2428, the process moves to block 2446 where class attribute names are checked. That is, each class attribute name referenced in the function definition section (e.g., function definition A06 of Appendix A) of the class specification is compared to the class attribute names that were found in the class attribute section (e.g., class attributes A04 of Appendix A) of the class specification and stored at block 2430. If any given class attribute name associated with the current function is not stored, then at block 2448 the given class attribute name is reported, e.g., stored in an output file, as an undeclared or undefined class attribute and an undeclared attribute frequency variable associated with the given class attribute name is incremented.

[0158] As with undeclared functions, in an embodiment that includes a naming rule enforcer 2308 (FIG. 23), “undeclared” parameters and class attributes can be reconciled by locating misspelled occurrences of the respective parameters and class attributes and enforcing the naming rules to correct the misspelled occurrences, thereby resulting in consistent and correct naming throughout the class specification.

[0159] At block 2450, any local variable names referenced in the function definition section (e.g., function definition A06 of Appendix A) of the class specification are reported, e.g., stored in an output file. Furthermore, the frequency at which they appear in a given function is stored. As described above, if a local variable name appears only once in a given function definition, then there is a possibility that there are other occurrences of the local variable name in the given function definition that are misspelled.

[0160] At block 2452, undeclared parameter names discovered and stored at block 2444, undeclared attribute names discovered and stored at block 2448, and the respective values of their associated frequency variables, are reported. At block 2454, local variable names discovered and stored at block 2450 and respective values of their associated frequency variable, are reported. For example, reporter 2306 (FIG. 23) of verification tool 512 (FIG. 23) prints the foregoing parameter, attribute and local variable names and their associated frequencies.

[0161] Finally, the process returns to block 2432 to determine whether there are more functions to process. If there are more functions that were discovered in the function list (e.g., function list A02 of Appendix A) that still need processing, then the process again moves to block 2434 to find the function definition section (e.g., function definition A06 of Appendix A) for the current function. When it is determined at block 2432 that there are no more functions to process for the current class specification file, then at block 2410 it is determined whether there is another input file name that has not yet been processed. If there are more files to process, the process continues at block 2416 to retrieve the next file. If there are no other files to process, an end message is reported at block 2412, e.g., stored in an output file for printing, and the automated design specification verification process ends.

[0162] The embodiments described herein refer to specific sections of a design specification document. For example, the terms “function list”, “class attributes”, and “function definition” sections of a “class specification” portion of a design specification document are used throughout. However, use of embodiments of the invention is not limited to use with sections with these specific titles, for use of embodiments in relation to similar sections that are titled differently is specifically contemplated. Use of the foregoing titles is an example of an implementation of the broader teachings herein. Thus, sections of a class specification that list or declare functions and associated parameters associated with the class, that list class attributes associated with the class, and that define the algorithms underlying the functions associated with the class, are able to be analyzed and processed according to the foregoing teachings.

[0163] Hence, the foregoing detailed description describes techniques for automated verification of a design specification. In addition, in this disclosure, certain process steps are set forth in a particular order, and alphabetic and alphanumeric labels are used to identify certain steps. Unless specifically stated in the disclosure, embodiments of the invention are not limited to any particular order of carrying out such steps. In particular, the labels are used merely for convenient identification of steps, and are not intended to imply, specify or require a particular order of carrying out such steps.

[0164] In the foregoing specification, the invention has been described with reference to specific embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense. 5.8.2 CHTTP_HTML Class Specification 5.8.2.1 Function List public: CHTTP_HTML( ); ˜CHTTP_HTML( ); void init( ) bool setIPAddress(std::string& in_sIP); bool setIPAddressAndID(std::string& in_sIP, int in_nID); bool getVendor(std::string& out_sVendor); bool getModel(std::string& out_sModel); bool getUniqueID(std::string& out_sUniqueID); bool getVendorModelID(int& out_nID); bool getStatus(std::map<infoType, std::string>& out_StatusInfo); private: struct CVendorModelInfo { std::string m_sVendorName; std::string m_sWebPageForModel; CKeyValueInfo m_KeyValueInfoForModel; }; struct CVendorModelID { int m_nVendorModelID; std::string m_sWebPageForUniqueID; CKeyValueInfo m_KeyValueInfoForUniqueID; }; void setVendorModelInfoVector( ); void setVendorModelIDMap( ); void obtainVendor( ); void obtainModel( ); void obtainVendorModelID( ); void obtainUniqueID( ); void convertToAllUpper(std::string& inOut_sString); 5.8.2.2 Class Attributes Type Attribute Name Description std::vector m_VendorModelInfoVector This attribute member contains information <CVendorModelInfo> used to obtain model information of the device. This vector determines what vendors are supported by the system. It is initialized in setVendorModelInfoVector ( ). std::map<std::string, m_VendorModelIDMap This attribute member contains the vendor map<std::string, model ID and information used to obtain CVendorModelID> > the unique ID for a given model of the device. This map determines what models are supported by the system. The key for the outer map is the vendor name. The key for the inner map is the model name. It is initialized in setVendorModelIDMap( ). std::map<int, m_VendorModelMap This attribute member contains information map<std:string, used to obtain the status of the devices std::vector that are periodically monitored. <CKeyValueInfo> > > std::string m_sIPAddress This attribute member represents the IP address of the device in the current HTTP session. std::string m_sVendor This attribute member represents the vendor of the device in the current HTTP session. std::string m_sModel This attribute member represents the model of the device in the current HTTP session. std::string m_sUniqueID This attribute member represents the unique identifier of the device in the current HTTP session. int m_nVendorModelID This attribute member represents the vendor model ID of the device in the current HTTP session. CKeyValueInfo m_KeyValueInfoForModel This attribute member is used to obtain the model of the device from the HTML file. CvendorModelID m_VendorModelID This attribute member is used to obtain the vendor model ID and the unique ID of the device from the HTML file. CHTTP m_HTTP This attribute member is used to obtain an HTTP session with a device. CHTMLProcessor m_HTMLProcessor This attribute member processes the HTML file to obtain the desired information. Define the following constants: const int RandLength(80); const int Base10(10); 5.8.2.3 Function Definitions ////////////////////////////////////////////////////////////////////////// // Function: CHTTP_HTML // Description: Constructor // Preconditions: None. // Postconditions: None. // Algorithm: 1. initializes m_sIPAddress, m_sVendor, m_sModel, // and m_sUniqueID to an empty string. // 2. initializes m_nVendorModelID to 0. ////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////// // Function: ˜CHTTP_HTHL // Description: Destructor // Preconditions: None. // Postconditions: None. // Algorithm: Default. ////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////// // Function: init // Description: This function initializes the vector // m_VendorModelInfoVector and the map // m_VendorModelIDMap. // Preconditions: None. // Postconditions: None. // Algorithm: 1. calls setVendorModelInfoVector( ). // 2. calls setVendorModelIDMap( ). ////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////// // Function: setIPAddress // Description: This function sets the IP address of the device to // be contacted via HTTP. This function creates an HTTP // session with the device corresponding to the IP // address to obtain the Manufacturer, Model, and the // Unique ID. // Preconditions: The input string cannot be empty. // Postconditions: None. // Algorithm: 1. sets m_sVendor, m_sModel, and m_sUniqueID to an // empty string. // 2. sets m_nVendorModelID to 0. // 3. calls createHTTPSession( ) of m_HTTP with in_sIP // passed in. If this function returns false, return // false. // 4. calls obtainVendor( ). // 5. calls obtainModel( ). // 6. calls obtainVendorModelID( ). // 7. calls obtainUniqueID( ). // 8. calls closeHTTPSession( ) of m_HTTP. // 9. returns true. ////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////// // Function: setIPAddressAndID // Description: This function sets the IP address and Vendor Model ID // of the device to obtain the status information. This // function returns true if the device can be contacted // via HTTP and if the Vendor Model ID is valid. // Otherwise false is returned. // Preconditions: The input string cannot be empty and input int cannot // be 0. // Postconditions: None. // Algorithm: 1. calls createHTTPSession( ) of m_HTTP with in_sIP // passed in. If this function returns false, return // false. // 2. calls closeHTTPSession( ) of m_HTTP. // 3. assigns in_sIP to m_sIPAddress. // 4. checks if in_nID is in m_VendorModelMap. If not, // returns false. // 5. assigns in_nID to m_nVendorModelID. // 6. returns true. ////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////// // Function: getVendor // Description: This function gets the Manufacturer of the device. // This function returns a string for the Manufacturer // and true when the Manufacturer is obtained. // Otherwise, an empty string and false are returned. // Preconditions: None. // Postconditions: None. // Algorithm: 1. assigns m_sVendor to out_sVendor. // 2. if out_sVendor is empty, return false. // Otherwise, return true. ////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////// // Function: getModel // Description: This function gets the Model of the device. This // function returns a string for the Model and true // when the Model is obtained. Otherwise, an empty // string and false are returned. // Preconditions: None. // Postconditions: None. // Algorithm: 1. assigns m_sModel to out_sModel. // 2. if out_sModel is empty, return false. // Otherwise, return true. ////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////// // Function: getUniqueID // Description: This function gets the Unique ID of the device. This // function returns a string for the Unique ID and true // when the Unique ID is obtained. Otherwise, an empty // string and false are returned. // Preconditions: None. // Postconditions: None. // Algorithm: 1. assigns m_sUniqueID to out_sUniqueID. // 2. if out_sUniqueID is empty, return false. // Otherwise, return true. ////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////// // Function: getModelVendorID // Description: This function gets the VendorModelID of the // device. This function returns an int for the // VendorModelID and true if the VendorModelID is // obtained. Otherwise, 0 for the VendorModelID and // false are returned. // Preconditions: None. // Postconditions: None. // Algorithm: 1. assigns m_nVendorModelID to out_nID. // 2. if out_nID is 0, return false. // 3. check if m_nVendorModelID is in the map // m_VendorModelMap. If it is, return true. // 4. declares a local CSupportInfoODBC. // 5. calls setVendorModelID( ) of CSupportInfoODBC with // m_nVendorModelID passed in. // 6. declares a local string, loc_sWebPage. // 7. declares a local std::vector<CKeyValueInfo>, // loc_Vector. // 8. declares a local std::map<std::string, // std::vector<CKeyValueInfo> >, loc_Map. // 9. repeats in a while loop until getWebPageInfo( ) of // CSupportInfoODBC with loc_sWebPage and loc_Vector // passed in returns false. // 9a. loc_Map[loc_sWebPage] = loc_Vector. // 10. m_VendorModelMap[m_nVendorModelID] = loc_Map // 11. returns true. ////////////////////////////////////////////////////////////////////////// 

What is claimed is:
 1. A method for verifying an electronic software design specification document, the method comprising the computer-implemented steps of: identifying a function defined in a first section of the design specification document; automatically determining whether the function is declared in a second section of the design specification document; and if the function is not declared in the second section, then reporting that the function is not declared.
 2. The method of claim 1, wherein the first section lists functions associated with a software application.
 3. The method of claim 1, wherein the first and second sections are associated with a class specification of the design specification document.
 4. The method of claim 1, further comprising the computer-implemented step of: compiling computer software code associated with the software design specification document.
 5. The method of claim 1, wherein the steps of identifying, determining and reporting are performed before compiling computer software code associated with the software design specification.
 6. The method of claim 1, further comprising the computer-implemented steps of: if the function is declared in the second section, then automatically determining whether a parameter associated with the function in the first section is declared in the second section of the design specification document; and if the parameter associated with the function is not declared in the second section, then storing the parameter as an undeclared parameter; and incrementing an undeclared parameter frequency variable that is associated with the parameter and with the function.
 7. The method of claim 4, further comprising the computer-implemented step of: reporting both the parameter as undeclared and the value of the undeclared parameter frequency variable.
 8. The method of claim 1, further comprising the computer-implemented steps of: automatically determining whether a class attribute associated with the function in the first section is described in a third section of the design specification document; and if the class attribute associated with the function is not described in the third section, then storing the class attribute as an undeclared class attribute; and incrementing an undeclared attribute frequency variable that is associated with the class attribute and with the function.
 9. The method of claim 8, further comprising the computer-implemented step of: reporting both the class attribute as undeclared and the value of the undeclared attribute frequency variable.
 10. The method of claim 8, wherein the third section lists class attributes of a class associated with a software application.
 11. The method of claim 1, further comprising the computer-implemented steps of: storing a local variable name that is referenced in the first section; and incrementing a local variable name frequency variable that is associated with the local variable name and with the function; and reporting the local variable name and the value of the local variable name frequency variable.
 12. The method of claim 1, further comprising the computer-implemented step of: verifying the file type of a design specification document file.
 13. The method of claim 1, further comprising the computer-implemented step of: automatically applying a set of one or more rules to the design specification document.
 14. The method of claim 13, wherein the set of rules includes a rule requiring a specific addendum be associated with an attribute name in the design specification document.
 15. The method of claim 13, wherein the set of rules includes a rule requiring a specific addendum be associated with a parameter name in the design specification document.
 16. The method of claim 13, wherein the set of rules includes a rule requiring a specific addendum be associated with a local variable name in design specification document.
 17. A method for verifying a software design specification document, the method comprising the computer-implemented steps of: verifying the file type of a design specification document file; storing one or more function names and associated one or more parameter names that are declared in a function list section of a class specification of the design specification document; storing one or more attribute names that are listed in a class attributes section of the class specification; for each of one or more functions defined in a function definition section of the class specification, determining whether a respective function name is stored; if a respective function name is not stored, then indicating that the respective function is not declared; if a respective function name is stored, then determining whether a respective parameter name of one or more parameter names associated in the function definition section with the respective function name is stored; if a respective parameter name associated with the respective function is not stored, then storing the respective parameter name as an undeclared parameter; incrementing an undeclared parameter frequency variable that is associated with the respective parameter name and with the respective function; and reporting one or more undeclared parameter names, if any, and the value of an associated undeclared parameter frequency variable; determining whether a respective attribute name of one or more attribute names associated in the function definition section with the respective function name is stored; and if a respective attribute name associated with the respective function is not stored, then storing the respective attribute name as an undeclared attribute; incrementing an undeclared attribute frequency variable that is associated with the respective attribute name and with the respective function; and reporting one or more undeclared attribute names, if any, and the value of an associated undeclared attribute frequency variable.
 18. A computer-readable medium carrying one or more sequences of instructions for verifying an electronic software design specification document, wherein execution of the one or more sequences of instructions by one or more processors causes the one or more processors to perform the steps of: identifying a function defined in a first section of the design specification document; automatically determining whether the function is declared in a second section of the design specification document; and if the function is not declared in the second section, then reporting that the function is not declared.
 19. The computer-readable medium of claim 18, wherein the first section lists functions associated with the software application.
 20. The computer-readable medium of claim 18, wherein the first and second sections are associated with a class specification of the design specification document.
 21. The computer-readable medium of claim 18, wherein one or more sequences of instructions causes one or more processors to perform the step of: compiling computer software code associated with the software design specification document.
 22. The computer-readable medium of claim 18, wherein the steps of identifying, determining and reporting are performed before compiling computer software code associated with the software design specification.
 23. The computer-readable medium of claim 18, wherein the one or more sequences of instructions causes the one or more processors to perform the steps of: if the function is declared in the second section, then automatically determining whether a parameter associated with the function in the first section is declared in the second section of the design specification document; and if the parameter associated with the function is not declared in the second section, then storing the parameter as an undeclared parameter; and incrementing an undeclared parameter frequency variable that is associated with the parameter and with the function. 24 The method of claim 23, wherein the one or more sequences of instructions causes the one or more processors to perform the step of: reporting both the parameter as undeclared and the value of the undeclared parameter frequency variable.
 25. The computer-readable medium of claim 18, wherein the one or more sequences of instructions causes the one or more processors to perform the steps of: automatically determining whether a class attribute associated with the function in the first section is described in a third section of the design specification document; and if the class attribute associated with the function is not described in the third section, then storing the class attribute as an undeclared class attribute; and incrementing an undeclared attribute frequency variable that is associated with the class attribute and with the function.
 26. The computer-readable medium of claim 25, wherein the one or more sequences of instructions causes the one or more processors to perform the step of: reporting both the class attribute as undeclared and the value of the undeclared attribute frequency variable.
 27. The computer-readable medium of claim 25, wherein the third section lists class attributes of a class associated with the software application.
 28. The computer-readable medium of claim 18, wherein the one or more sequences of instructions causes the one or more processors to perform the steps of: storing a local variable name that is referenced in the first section; and incrementing a local variable name frequency variable that is associated with the local variable name and with the function; and reporting the local variable name and the value of the local variable name frequency variable.
 29. The computer-readable medium of claim 18, wherein the one or more sequences of instructions causes the one or more processors to perform the step of: verifying the file type of a design specification document file.
 30. The computer-readable medium of claim 18, wherein the one or more sequences of instructions causes the one or more processors to perform the step of: automatically applying a set of one or more rules to the design specification document.
 31. The computer-readable medium of claim 30, wherein the set of rules includes a rule requiring a specific addendum be associated with an attribute name in the design specification document.
 32. The computer-readable medium of claim 30, wherein the set of rules includes a rule requiring a specific addendum be associated with a parameter name in the design specification document.
 33. The computer-readable medium of claim 30, wherein the set of rules includes a rule requiring a specific addendum be associated with a local variable name in design specification document.
 34. A computer-readable medium carrying one or more sequences of instructions for verifying an electronic software design specification document, wherein execution of the one or more sequences of instructions by one or more processors causes the one or more processors to perform the steps of: verifying the file type of a design specification document file; storing one or more function names and associated one or more parameter names that are declared in a function list section of a class specification of the design specification document; storing one or more attribute names that are listed in a class attributes section of the class specification; for each of one or more functions defined in a function definition section of the class specification, determining whether a respective function name is stored; if a respective function name is not stored, then indicating that the respective function is not declared; if a respective function name is stored, then determining whether a respective parameter name of one or more parameter names associated in the function definition section with the respective function name is stored; if a respective parameter name associated with the respective function is not stored, then storing the respective parameter name as an undeclared parameter; incrementing an undeclared parameter frequency variable that is associated with the respective parameter name and with the respective function; and reporting one or more undeclared parameter names, if any, and the value of an associated undeclared parameter frequency variable; determining whether a respective attribute name of one or more attribute names associated in the function definition section with the respective function name is stored; and if a respective attribute name associated with the respective function is not stored, then storing the respective attribute name as an undeclared attribute; incrementing an undeclared attribute frequency variable that is associated with the respective attribute name and with the respective function; and reporting one or more undeclared attribute names, if any, and the value of an associated undeclared attribute frequency variable.
 35. An apparatus comprising: means for identifying a function defined in a first section of the design specification document; means for automatically determining whether the function is declared in a second section of the design specification document; and means for reporting that the function is not declared if the function is not declared in the second section.
 36. An apparatus comprising: means for verifying the file type of a design specification document file; means for storing one or more function names and associated one or more parameter names that are declared in a function list section of a class specification of the design specification document; means for storing one or more attribute names that are listed in a class attributes section of the class specification; means for determining whether a respective function name is stored for each of one or more functions defined in a function definition section of the class specification; means for indicating that the respective function is not declared if a respective function name is not stored; means for determining, if a respective function name is stored, whether a respective parameter name of one or more parameter names associated in the function definition section with the respective function name is stored; means for storing a respective parameter name as an undeclared parameter if the respective parameter name associated with the respective function is not stored; means for incrementing an undeclared parameter frequency variable that is associated with the respective parameter name and with the respective function; means for reporting one or more undeclared parameter names, if any, and the value of an associated undeclared parameter frequency variable; means for determining whether a respective attribute name of one or more attribute names associated in the function definition section with the respective function name is stored; means for storing a respective attribute name as an undeclared attribute if the respective attribute name associated with the respective function is not stored; means for incrementing an undeclared attribute frequency variable that is associated with the respective attribute name and with the respective function; and means for reporting one or more undeclared attribute names, if any, and the value of an associated undeclared attribute frequency variable. 